\hypertarget{structsc2_1_1_player_setup}{}\section{sc2\+:\+:Player\+Setup Struct Reference}
\label{structsc2_1_1_player_setup}\index{sc2\+::\+Player\+Setup@{sc2\+::\+Player\+Setup}}


Setup for a player in a game.  




{\ttfamily \#include $<$sc2\+\_\+gametypes.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_player_setup_a97fc7c0166caacfbc44359a3cd59a989}\label{structsc2_1_1_player_setup_a97fc7c0166caacfbc44359a3cd59a989}} 
{\bfseries Player\+Setup} (Player\+Type in\+\_\+type, Race in\+\_\+race, \hyperlink{classsc2_1_1_agent}{Agent} $\ast$in\+\_\+agent=nullptr, Difficulty in\+\_\+difficulty=Easy)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_player_setup_a59ec60d77794e16f2325a4bdbc693d89}\label{structsc2_1_1_player_setup_a59ec60d77794e16f2325a4bdbc693d89}} 
Player\+Type \hyperlink{structsc2_1_1_player_setup_a59ec60d77794e16f2325a4bdbc693d89}{type}
\begin{DoxyCompactList}\small\item\em Player can be a Participant (usually an agent), Computer (in-\/built AI) or Observer. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_player_setup_a46fd53bd97da279d423345b454823f2e}\label{structsc2_1_1_player_setup_a46fd53bd97da279d423345b454823f2e}} 
\hyperlink{classsc2_1_1_agent}{Agent} $\ast$ \hyperlink{structsc2_1_1_player_setup_a46fd53bd97da279d423345b454823f2e}{agent}
\begin{DoxyCompactList}\small\item\em \hyperlink{classsc2_1_1_agent}{Agent}, if one is available. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_player_setup_aaa5c79519707f78fbe6f9f6d3580a051}\label{structsc2_1_1_player_setup_aaa5c79519707f78fbe6f9f6d3580a051}} 
Race \hyperlink{structsc2_1_1_player_setup_aaa5c79519707f78fbe6f9f6d3580a051}{race}
\begin{DoxyCompactList}\small\item\em Race\+: Terran, Zerg or Protoss. Only for playing against the built-\/in AI. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_player_setup_ac9616c686e3e31c2d8f9f023c9cd7dca}\label{structsc2_1_1_player_setup_ac9616c686e3e31c2d8f9f023c9cd7dca}} 
Difficulty \hyperlink{structsc2_1_1_player_setup_ac9616c686e3e31c2d8f9f023c9cd7dca}{difficulty}
\begin{DoxyCompactList}\small\item\em Difficulty\+: Only for playing against the built-\/in AI. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Setup for a player in a game. 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sc2api/\hyperlink{sc2__gametypes_8h}{sc2\+\_\+gametypes.\+h}\end{DoxyCompactItemize}
